package com.changan.service;

import com.changan.entity.Student;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @program: StuManagement
 * @description: StudentService业务类
 * @author: Mr.Nie
 * @create: 2021-12-18 13:55
 **/
public interface StudentService {

    List<Student> getStudents();

    int addStudent(Student student);

    PageInfo<Student> getStuByPage(Integer pageNum, Integer pageSize);

    int delStu(Long id);

    int updStu(Student student);

    Student getStudentById(Long id);
}
